home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xml;
-
- public class XDRWriter$NotationProxy extends XDRWriter.DeclProxy {
- // $FF: synthetic field
- final XDRWriter this$0;
- NotationDeclaration decl;
-
- XDRWriter$NotationProxy(XDRWriter var1) {
- super(var1);
- this.this$0 = var1;
- }
-
- XDRWriter$NotationProxy(XDRWriter var1, NotationDeclaration var2) {
- super(var1);
- this.this$0 = var1;
- this.setDecl(var2);
- }
-
- void setDecl(NotationDeclaration var1) {
- this.decl = var1;
- super.setDecl(var1);
- }
-
- public void write(SXE var1, boolean var2) {
- var1.writeElem("Notation");
- var1.writeAttr("name", this.decl.getName());
- if (this.decl.getSystemID() != null) {
- var1.writeAttr("systemID", this.this$0.schema.expandPERefs(this.decl.getSystemID().toSource(), this.decl));
- }
-
- if (this.decl.getPublicID() != null) {
- var1.writeAttr("publicID", this.this$0.schema.expandPERefs(this.decl.getPublicID(), this.decl));
- }
-
- if (var2) {
- ((XDRWriter.DeclProxy)this).writeComments(var1);
- }
-
- var1.flush("Notation");
- }
- }
-